<?php
class SyscolumnModel extends Model{
   //自动验证设置
   protected $_validate=array(
          array("col_name","require","栏目名称必须!"),
		  array("col_name","","栏目名称已经存在",0,"unique",self::MODEL_INSERT),
    );
}
?>